package personal.lijun.skeleton.springcloud.utils.validate;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @Auther: lijun@sstcsoft.com
 * @Date: 2019/9/11 14:01
 */
@Target({ElementType.PARAMETER,ElementType.TYPE_PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ValidGroups {
    @AliasFor("value")
    Class<?>[]  groups() default {};
    @AliasFor("groups")
    Class<?>[]  value() default {};
}
